//
//  UIImage+lvfjHelper.h
//  lvfj
//
//  Created by 吕飞俊 on 15/11/16.
//  Copyright © 2015年 Goudu KuaiEx Technology(Shenzhen)Co.,ltd. All rights reserved.
//   _          ______   _      _
//  | |        |  ____| (_)    | |
//  | |  __   _| |__ ___ _     | |_   _ _ __
//  | |  \ \ / /  __/ _ \ |_   | | | | | '_ \
//  | |___\ V /| | |  __/ | |__| | |_| | | | |
//  |______\_/ |_|  \___|_|\____/ \__,_|_| |_|
//

#import <UIKit/UIKit.h>

@interface UIImage (lvfjHelper)

-(instancetype)getRealImage;
+(instancetype)ImageRealWithStrimg:(NSString *)string;
+(instancetype)ImageRealWithImage:(UIImage *)image;

/**获取大小单位Bytes*/
-(NSUInteger)getImageData;

+ (UIImage *)image:(UIImage *)image rotation:(UIImageOrientation)orientation;

#pragma mark 截屏 
+(UIImage*)viewChangeImage:(UIView *)theView;

+(UIImage *)cutImageFromImg:(UIImage *)img rect:(CGRect)rect;

+(UIImage *)makeSizeImage:(UIImage *)image size:(CGFloat)size isWidth:(BOOL)isWidth;

+(UIImage *)appendingImage:(UIImage *)image1 toImage:(UIImage *)image2 ;

+(UIImage *)ScreenShot:(UIView *)view rect:(CGRect)rect;

@end
